﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SD.Entities;

namespace SD.IBUS
{
    public interface IReferenceDataBIZ
    {
        DataTable ListAll();
        DataTable ListDetails2(string orgID);
        DataTable ListRefByCodition(string bussiness, string siccode);
        DataTable ListReferenceDataByRefcode(string refCode);

        List<ReferenceData> GetAll();
        List<ReferenceData> GetByRefCode(string refCode);
        ReferenceData GetById(string refId);
        bool Insert(ReferenceData refData);
        bool Update(ReferenceData refData);
        bool Delete(string refId);
        List<ReferenceData> GetDetails2(string orgId);
        List<ReferenceData> GetRefByCodition(string bussinessname, string siccode);
    }
}
